package com.loveedu.apib;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by Administrator on 2018-5-26.
 */
@RestController
@RequestMapping("/demo")
public class ee {
    @RequestMapping("/test")
    public ModelAndView test(){
        ModelAndView mvc = new ModelAndView("hello");
        System.out.println("1122222");
        return mvc;
    }
}
